package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_union_hua_ben_guan_pu", desc = "商会话本关扑日志", autoSave = true, uploadCk = true)
public class LogUnionHuaBenGuanPu extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "商会", isIndex = true)
    private String unionUid;

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "类型：1/10")
    private int type;

    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogUnionHuaBenGuanPu(String unionUid, long userId, int type, String reward) {
        this.unionUid = unionUid;
        this.userId = userId;
        this.type = type;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
